const STATUS_TYPES = {
  IDLE: {
    key: 'idle',
    value: '#7fbc39'
  },
  BUILDING: {
    key: 'building',
    value: '#ff9a2a'
  },
}
const {IDLE, BUILDING} = STATUS_TYPES;
const OS_ICONS = {
  windows: 'windows.png',
  ubuntu: 'ubuntu.png',
  suse: 'suse.png',
  debin: 'debin.png',
  cent_os: 'cent_os.png',
}
const {windows, ubuntu, suse, cent_os, debin} = OS_ICONS;
export const userAgentObj = {
  0: ['Firefox', 'Safari', 'Ubuntu'],
  1: ['Firefox', 'Safari', 'Ubuntu', 'Chrome'],
  2: ['Firefox', 'Safari'],
  3: ['Firefox', 'Safari', 'Ubuntu', 'Chrome'],
  4: [],
  5: ['Firefox', 'Safari', 'Ubuntu', 'Chrome'],
}
export const listData = [
  {
    icon: windows,
    url: 'bjstdmingbgr101.thoughtworks.com',
    badge: IDLE,
    ip: '192.168.1.102',
    folder: '/var/lib/cruise-agent',
    userAgent: userAgentObj[0],
    isDeny: false
  },
  {
    icon: windows,
    url: 'bjstdmingbgr101.thoughtworks.com',
    badge: BUILDING,
    ip: '192.168.1.102',
    folder: '/var/lib/cruise-agent',
    userAgent: userAgentObj[1],
    isDeny: true
  },
  {
    icon: ubuntu,
    url: 'bjstdmingbgr101.thoughtworks.com',
    badge: BUILDING,
    ip: '192.168.1.102',
    folder: '/var/lib/cruise-agent',
    userAgent: userAgentObj[2],
    isDeny: true
  },
  {
    icon: debin,
    url: 'bjstdmingbgr101.thoughtworks.com',
    badge: BUILDING,
    ip: '192.168.1.102',
    folder: '/var/lib/cruise-agent',
    userAgent: userAgentObj[3],
    isDeny: true
  },
  {
    icon: suse,
    url: 'bjstdmingbgr101.thoughtworks.com',
    badge: IDLE,
    ip: '192.168.1.102',
    folder: '/var/lib/cruise-agent',
    userAgent: userAgentObj[4],
    isDeny: false
  },
  {
    icon: cent_os,
    url: 'bjstdmingbgr101.thoughtworks.com',
    badge: IDLE,
    ip: '192.168.1.102',
    folder: '/var/lib/cruise-agent',
    userAgent: userAgentObj[5],
    isDeny: false
  },
];
